﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;

public class Bullet : MonoBehaviour {

	public Vector3 speed;//速度
	public float power=1f;//伤害值
	
	void Start () {
		Destroy (gameObject,5f);
	}
	
	
	void Update () {
		transform.position += speed * Time.deltaTime;

	}
	
}
